package com.domain.dto.test;

import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RegisterDto {
    @NotEmpty(message = "输入用户名为空")
    private String username;
    @NotEmpty(message = "输入密码为空")
    private String password;
    @NotEmpty(message = "两次输入密码不一致")
    private String rePassword;
}
